﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Order_detail.aspx.cs" Inherits="ProjectSem3.WebForm14" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .showw36
        {
            width: 95%;
          margin: 38px auto 10px;
           
            box-shadow: inset 0px 0px 70px #EE7600;
            text-align: center;
            color: Black;
            padding: 20px;
            background-color: #fff;
        }
        .showw44
        {
            width: 95%;
            margin-top: 10px;
            margin: 0 auto;
            margin-bottom: 10px;
            box-shadow: 0px 2px 5px #ccc;
            text-align: center;
            color: Black;
            padding: 10px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class=" details">
        <div class="show_title">
            <asp:HyperLink ID="HyperLink2" runat="server" Font-Size="20px" ForeColor="White"
                ViewStateMode="Inherit" NavigateUrl="#" Font-Strikeout="False" Font-Underline="false">Order Detail :  <%= Request.QueryString["ID"] == null ? "" : Request.QueryString["ID"].ToString()%></asp:HyperLink>
        </div>
        <div class="showw44">
            <div class="showw36">
                <p class="style16">
                    The entire transaction history of your edits are stored on our system!<br />
                    If you have any requests or change orders not correct please contact the staff in
                    charge, or send a request through the contact page!<br />
                </p>
                <p class="style16">
                    Below is a list of products you have ordered on the website.<br />
                </p>
                <asp:ListView ID="ListView1" runat="server">
                    <LayoutTemplate>
                        <div style="width: 95%; margin: 0 auto;">
                            <table style="color: #EE7600; text-align: center; font-size: 20px; font-family: Agency FB;
                                width: 100%;">
                                <thead>
                                    <th>
                                        product ID
                                    </th>
                                    <th>
                                        Name
                                    </th>
                                    <th>
                                        Product Detail
                                    </th>
                                        <th>
                                        Price
                                    </th>
                                    <th>
                                        Amount
                                    </th>
                                     <th>
                                        Total
                                    </th>
                                </thead>
                                <tbody>
                                    <asp:PlaceHolder runat="server" ID="itemPlaceholder" />
                                </tbody>
                            </table>
                        </div>
                    </LayoutTemplate>
                    <ItemTemplate>
                        <tr style="border: 1px solid #EE7600; color: Black;">
                            <td style="border-bottom: 1px solid #ee7600;">
                                <%# Eval("ProductID") %>
                            </td>
                            <td style="border-bottom: 1px solid #ee7600;">
                                <%# Eval("Product.Name") %>
                            </td>
                            <td style="border-bottom: 1px solid #ee7600;">
                              
                                <a href='Detail.aspx?id=<%# Eval("ProductID") %>' style="color: Blue">Detail</a></div>
                            </td>
                              <td style="border-bottom: 1px solid #ee7600;">
                                <%# Eval("Product.price") %>₫
                            </td>
                            <td style="border-bottom: 1px solid #ee7600;">
                                <%# Eval("Numberof") %>
                            </td>
                          
                            <td style="border-bottom: 1px solid #ee7600;">
                                <%# Eval("Price") %>₫
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:ListView>
                <div style="width: 95%; margin: 0 auto;">
                    <table style="color: #EE7600; text-align: center; font-size: 22px; font-family: Agency FB;
                                font-weight: bold; width: 100%;">
                        <tr>
                            <td style="float:left">
                               <a href="MyAccount.aspx" class="continue">&lt; continue</a> 
                            </td>
                            <td>
                            
                            </td>
                            <td >
                              
                            </td>
                        </tr>
                   
                    </table>
                </div>
            </div>
            <div style="clear: both;">
            </div>
        </div>
    </div>
</asp:Content>
